package com.ruoyi.technician.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 🤙🤙🏼🤙🏽
 * @date 2025 4月 11 09:07
 * @Description
 */
@Data
public class SelectTechnicianOrderResponseVo {

    private Long id;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号")
    private String orderNo;

    /**
     * 项目名
     */
    @Excel(name = "项目名")
    private String itemName;

    /**
     * 项目图
     */
    @Excel(name = "项目图")
    private String itemPicture;

    /**
     * 项目时长（分钟）
     */
    @Excel(name = "项目时长", readConverterExp = "分=钟")
    private Integer itemTime;

    /**
     * 项目价格
     */
    @Excel(name = "项目价格")
    private BigDecimal orderItemPrice;

    /**
     * 下单数量
     */
    @Excel(name = "下单数量")
    private Integer orderNum;

    /**
     * 支付方式
     */
    @Excel(name = "支付方式")
    private String payType;

    /**
     * 订单类型
     */
    @Excel(name = "订单类型")
    private Integer orderType;

    /**
     * 总优惠金额
     */
    @Excel(name = "总优惠金额")
    private BigDecimal discountPrice;

    /**
     * 订单总金额
     */
    @Excel(name = "订单总金额")
    private BigDecimal orderTotalPrice;

    /**
     * 订单总金额
     */
    @Excel(name = "收入")
    private BigDecimal realIncome;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date placeOrderTime;
}
